﻿using FlyingEye.EntityFrameworkCore;
using Volo.Abp;
using Volo.Abp.Application;
using Volo.Abp.AspNetCore.SignalR;
using Volo.Abp.AutoMapper;
using Volo.Abp.Modularity;

namespace FlyingEye
{
    [DependsOn(
        typeof(DeviceAppServiceEntityFrameworkCoreModule),
        typeof(AbpAspNetCoreSignalRModule),
        typeof(AbpDddApplicationModule),
        typeof(AbpAutoMapperModule))]
    public class DeviceAppServiceApplicationModule : AbpModule
    {
        public override void ConfigureServices(ServiceConfigurationContext context)
        {
            this.Configure<AbpAutoMapperOptions>(options =>
            {
                options.AddProfile<ApplicationProfile>();
            });

            base.ConfigureServices(context);
        }
    }
}
